#!/usr/bin/ent python
# -*- coding: utf-8 -*-
# Copyright (C) 2008  Vladimir Lagunov

# Version
version = u'0.4.4'

# For escaping bugs on flood-protecting servers like jabber.ru
# Insert value between 1 and 2 if bot doesn't work correct
sleep_before_next_message = 3

# File, where scores would be saved
basename = '/path/to/userbase.dat'

# File with questions
questfile = '/path/to/questions.txt'

# Avatar image
# Disable if bot can't connect to server
avatar_enabled = True
avatar_image = '/path/to/victorina.jpg'
image_type = 'image/jpeg'

# Encoding of questions file
codepage = 'UTF-8'

# Maximfl shuffle when finding new question
max_shuffle=15

# JabberID of the bot
myjid = u'name@server'

# Password of the bot's account
pwd = 'secret'

# Resource name of bot
bot_resource = u'Erudit'

# Quiz conference
room = u'room@conference'

# Command of getting statistics
statistics_command = [u'!статистика', u'!топ']

# Length of records list
max_statistics = 10

# Command of getting users statistic
mystatistics_command = [u'!моя_статистика', u'!я']

# Command of getting hint
hint_command = [u'!подсказка', u'!hint', u'!хинт', u'!п']

# Maximal number of hints for one question
max_hints = 2

# Points that user losing when getting hint
hint_fine = .2

# Time of question's live
question_period = 30

# Start command 
start_command = [u'!старт']

# Stop command
stop_command = [u'!стоп']

# Next question command
nextq_command = [u'!пропуск', u'!след', u'!хз']

# Directory where logs would be placed
logdir = '/path/to/victorina-logs'

# CSS-style of bold messages
boldstyle = 'font-weight: bold; color: #0000A0;'

# If users are silent for `max_silence_quest', game would be stopped
max_silence_quest = 10


enable_bug_report = False
bug_report_jid = u'werehuman@sibnsk.net'
